#include <iostream>

struct tg
{
    tg() { m++; }
    static int m;
};
int tg::m = 0;

int main()
{
    tg t1;
    printf("%d\n", t1.m);
    tg t2;
    printf("%d\n", t2.m);
    return 0;
}